<script setup></script>

<template>
  <!-- 列标签 -->
  <div>
    <div class="news-header">
      <div class="divider"></div>
      <a class="news-title"><slot></slot></a>
    </div>
  </div>
</template>

<style scoped>
.news-header {
  display: flex;
  align-items: center;
}

.divider {
  content: '';
  background-color: #d42c38;
  height: 24px;
  width: 4px;
  display: block;
}

.news-title {
  margin-left: 10px;
  font-weight: bold;
  font-size: 19px;
}
</style>
